﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YXShop.Model.Stocks
{
    /// <summary>
    /// 带入库商品 对象类
    /// </summary>
    [Serializable]
    public class OutProduct
    {
        public OutProduct()
        { }
        #region Model
        private int _id;
        private int _barcodeid;
        private StockTypeEnum _stocktypeid;
        private int _stockid;
        private InTypeEnum _intype;
        private string _notes=string.Empty;
        /// <summary>
        /// 主键
        /// </summary>
        public int ID
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 条码ID
        /// </summary>
        public int BarcodeID
        {
            set { _barcodeid = value; }
            get { return _barcodeid; }
        }
        /// <summary>
        /// 仓库类型
        /// </summary>
        public StockTypeEnum StockTypeID
        {
            set { _stocktypeid = value; }
            get { return _stocktypeid; }
        }
        /// <summary>
        /// 仓库ID
        /// </summary>
        public int StockID
        {
            set { _stockid = value; }
            get { return _stockid; }
        }
        /// <summary>
        /// 待入库类型   正常和退货两类
        /// </summary>
        public InTypeEnum Intype
        {
            set { _intype = value; }
            get { return _intype; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Notes
        {
            set { _notes = value; }
            get { return _notes; }
        }
        #endregion Model
    }
}
